/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Live.Model
{

    /// <summary>
    ///  snapshotTemplate
    /// </summary>
    public class SnapshotTemplate
    {

        ///<summary>
        /// 截图格式
        /// 
        ///</summary>
        public string Format{ get; set; }
        ///<summary>
        /// 截图宽度
        /// - 单位: 像素
        /// 
        ///</summary>
        public int? Width{ get; set; }
        ///<summary>
        /// 截图高度
        /// - 单位: 像素
        /// 
        ///</summary>
        public int? Height{ get; set; }
        ///<summary>
        /// 截图与设定的宽高不匹配时的处理规则
        ///   1: 拉伸
        ///   2: 留黑
        ///   3: 留白
        ///   4: 高斯模糊
        /// 
        ///</summary>
        public int? FillType{ get; set; }
        ///<summary>
        /// 截图周期
        /// - 单位: 秒
        /// 
        ///</summary>
        public int? SnapshotInterval{ get; set; }
        ///<summary>
        /// 存储模式
        ///   1: 覆盖
        ///   2: 顺序编号存储
        /// 
        ///</summary>
        public int? SaveMode{ get; set; }
        ///<summary>
        /// 存储桶
        ///</summary>
        public string SaveBucket{ get; set; }
        ///<summary>
        /// 存储地址
        ///</summary>
        public string SaveEndpoint{ get; set; }
        ///<summary>
        /// 截图模板自定义名称
        /// 
        ///</summary>
        public string Template{ get; set; }
    }
}
